package com.szhn.aclservice.service;

import com.szhn.aclservice.entity.AclPermission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.szhn.aclservice.entity.vo.AclPermissionVo;

import java.util.List;

/**
 * <p>
 * 权限 服务类
 * </p>
 *
 * @author testjava
 * @since 2022-10-28
 */
public interface AclPermissionService extends IService<AclPermission> {

    List<AclPermissionVo> getAll();

    void deleteById(String id);

    void saveRoleAndPermission(String roleId, String[] permissionId);
}
